package com.fcy.teamwork.jmservice.event

import cn.jpush.im.android.api.JMessageClient

abstract class BaseEventListener {
    init {
        register()
    }

    private fun register() {
        JMessageClient.registerEventReceiver(this)
    }

    fun unregister() {
        JMessageClient.unRegisterEventReceiver(this)
    }
}